.toolbar {
  position: absolute;
  top: 120px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 5px 10px 5px;
  border-radius: 18px;

  .bar-item {
    border-radius: 10px;
    padding: 5px;
    opacity: 1;

    &.active {
      background-color: #444;
    }

    .icon {
      width: 18px;
      height: 18px;
      cursor: pointer;
      // transform: rotate(0);
      transition: .5s;
      background-color: unset;
    }


  }

  .bar-item:active .icon {
    transition: 0s;
    opacity: 0.2;
    transform: rotate(10deg);
  }

  .bar-item:hover {
    opacity: 0.6;
  }

  .translate-icon {
    background: {
      image: url("../images/toolbar/translate-icon.svg");
      size: 100% 100%;
      position: center;
    }

    &.active {
      background-image: url("../images/toolbar/translate-icon-active.svg");
    }
  }

  .rotate-icon {
    background: {
      image: url("../images/toolbar/rotate-icon.svg");
      size: 100% 100%;
      position: center;
    }

    &.active {
      background-image: url("../images/toolbar/rotate-icon-active.svg");
    }
  }

  .scale-icon {
    background: {
      image: url("../images/toolbar/scale-icon.svg");
      size: 100% 100%;
      position: center;
    }

    &.active {
      background-image: url("../images/toolbar/scale-icon-active.svg");
    }
  }

  .revoke-icon {
    background: {
      image: url("../images/toolbar/revoke-icon.svg");
      size: 100% 100%;
      position: center;
    }
  }


  .reset-icon {
    background: {
      image: url("../images/toolbar/reset-icon.svg");
      size: 100% 100%;
      position: center;
    }

    // &.active {
    //   background-image: url("../images/toolbar/reset-icon-active.svg");
    // }
  }

}